<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet"
	href="http://swf4.17c.cn/cloudfront/styles/admin.css" />
<style>
body {
	text-align: center;
	margin: 0;
	padding: 0
}

input {
	height: 20px;
	font-size: 18px;
	width: 100px
}

.gift td {
	height: 30px;
	overflow: hidden
}

.gift td img {
	border: none;
	height;
	30
	px
}
</style>
<title>Insert title here</title>
</head>
<body>

	<table border="1" class="table">
		<tr>
			<th>道具ID</th>
			<th>道具名字</th>
			<th>道具类型</th>
			<th>道具价格</th>
			<th>VIP价格</th>
			<th>购买币种</th>
			<th>是否开放</th>
			<th>作用参数</th>
			<th>描述</th>
			<th width=5%>预览</th>
		</tr>

		<?php foreach($items as $v): ?>
		<tr>
			<td height=32><a href="?props-edit?pid=<?php echo $v['pid']; ?>"><?php echo $v['pid']; ?>
			</a></td>
			<td><?php echo $v['name'] ?></td>
			<td><?php echo $v['type'] ?></td>
			<td><?php echo $v['price'] ?></td>
			<td><?php echo $v['vip_price'] ?></td>
			<td><?php echo $v['currency'] ? '博雅币' : '游戏币'; ?></td>
			<td><?php echo $v['status'] ? '关' : '开' ?></td>
			<td><?php echo $v['features'] ?></td>
			<td width=250><div style='width: 200px; height: 20px; overflow: hidden; float:left;'>
			<?php echo $v['desc']; ?>
				</div>...
			</td>
			<td>
	    	<object classid="clsid:D27CDB6E-AE6D-11cf- 96B8-444553540000" width="30" height="30">
				<param name="movie" value="<?php echo $tmp_url . $v['file'] ?>"> 
				<param name="quality" value="high">
				<param name="bgcolor" value="#FFFFFF">
				<!--[if !IE]> <-->
				<object data="<?php echo $tmp_url . $v['file'] ?>" width="30" height="30" type="application/x-shockwave-flash">
					<param name="quality" value="high">
					<param name="bgcolor" value="#FFFFFF">
					<param name="pluginurl" value="<?php echo $tmp_url . $v['file'] ?>">
				</object>
				<!--> <![endif]-->
			</object> 
    </td>
		</tr>
		<?php endforeach ?>
	</table>

</body>
</html>
